@echo off

cd /D "C:\Users\levyli\eclipse_workspace\IC_COMPILER\Classes"

java IC.Compiler "..\test\PA2\ourtests\Quicksort.ic" -L"..\test\PA2\libic.sig" -print-ast  > "..\test\PA2\ourtests\out\Quicksort.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\EmptyProgram.ic" -print-ast > "..\test\PA2\ourtests\out\EmptyProgram.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\EmptyClass.ic" -print-ast > "..\test\PA2\ourtests\out\EmptyClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\EmptyMethod.ic" -print-ast > "..\test\PA2\ourtests\out\EmptyMethod.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\IfElse.ic" -print-ast > "..\test\PA2\ourtests\out\IfElse.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\sieve.ic" -print-ast > "..\test\PA2\ourtests\out\sieve.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\Avrage.ic" -print-ast > "..\test\PA2\ourtests\out\Avrage.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\MultiClass.ic" -print-ast > "..\test\PA2\ourtests\out\MultiClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\ExtendsClass.ic" -print-ast > "..\test\PA2\ourtests\out\ExtendsClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\WhileClass.ic" -print-ast > "..\test\PA2\ourtests\out\WhileClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\ExperClass.ic" -print-ast > "..\test\PA2\ourtests\out\ExperClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\NestedClassError.ic" -print-ast > "..\test\PA2\ourtests\out\NestedClassError.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\UminusClass.ic" -print-ast > "..\test\PA2\ourtests\out\UminusClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\BopClass.ic" -print-ast > "..\test\PA2\ourtests\out\BopClass.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\NestedIf.ic" -print-ast > "..\test\PA2\ourtests\out\NestedIf.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\VarError.ic" -print-ast > "..\test\PA2\ourtests\out\VarError.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\EmptyScope.ic" -print-ast > "..\test\PA2\ourtests\out\EmptyScope.ic.ast.txt"
java IC.Compiler "..\test\PA2\ourtests\LocationLengthClass.ic" -print-ast > "..\test\PA2\ourtests\out\LocationLengthClass.ic.ast.txt"